package com.iweb.blog.service;

import com.iweb.blog.vo.ArticleVo;
import com.iweb.blog.vo.Result;
import com.iweb.blog.vo.param.PageParams;

import java.util.List;

public interface ArticleService {
    List<ArticleVo> listArticlesPage(PageParams pageParams);

    Result hotArticles(int limit);

    Result newArticles(int limit);

    List<ArticleVo> listArchives();

    Result findArticleById(Long id);
}
